package net.hn.hnms.biz.safety.fiber.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Author: PanSX
 * Date: 2023/4/20 16:15
 */
@Data
@ApiModel("光纤测温报警表格数据")
public class AlarmDataVo {

    private String id;
    @ApiModelProperty("设备")
    private String device_id;
    @ApiModelProperty("巷道")
    private String channel_id;
    private String workzone_id;
    @ApiModelProperty("报警类型")
    private String alarm_type;
    private BigDecimal thresho_id;
    private BigDecimal value;
    @ApiModelProperty("光纤位置")
    private BigDecimal position;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "Asia/Shanghai"
    )
    private Date start_time;

}
